﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using BusinessTest;

namespace FormMdiTest
{
    public partial class LogTestFrm : Form
    {
        public LogTestFrm()
        {
            InitializeComponent();
        }

        private void ultraButton1_Click(object sender, EventArgs e)
        {
            string message = "用来测试一下dll信息";
            LogCommon.LogHelper.Info( message);
            this.ultraTextEditor1.Text = message;
        }

        private void ultraButton2_Click(object sender, EventArgs e)
        {
            string msg = string.Empty;
            AssemblyInfoLogic assemblyLogic = new AssemblyInfoLogic();
            assemblyLogic.GetCurrentAssemblyVersion(out msg);
            this.ultraTextEditor2.Text = msg;
        }
    }
}
